package com.stenio.fancat.domain;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.annotations.Version;
import com.baomidou.mybatisplus.enums.IdType;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 活动统计表实体类
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("fc_act_statistics")
public class ActStatistics extends BaseEntity {

	/** 序列化ID */
	private static final long serialVersionUID = 7795848142854134572L;
	/** 自增主键 */
	@TableId(value = "id", type = IdType.AUTO)
	private Integer id;
	@TableField("act_id")
	private Integer actId;
	@TableField("surplus_candy")
	private Integer surplusCandy;
	@TableField("tap_count")
	private Long tapCount;
	@TableField("resend_count")
	private Long resendCount;
	@TableField("thumbs")
	private Long thumbs;
	@Version
	@TableField("version")
	private Integer version;

	public ActStatistics() {
		super();
	}

	public static final String ACT_ID = "act_id";

}